package io.renren.modules.business.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.business.entity.BusInfoEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 信息管理
 * 
 * @author liao mengqing
 */
@Mapper
public interface BusInfoDao extends BaseMapper<BusInfoEntity> {
    /**
     * 根据信息ID查询信息记录
     * @param id
     * @return
     */
    BusInfoEntity seleById (Long id);

    void deleteById (Long[] id);

    List<Map<String, Object>> selectKey (String key);

    List<Map<String, Object>> selectType (int key);

    List<Map<String, Object>> newInfo ();
}
